from selenium import webdriver
from selenium.webdriver.chrome.options import Options

options = Options()
# 缺省使用的是该目录下面的 Default目录里面保存的用户profile
options.add_argument(r'user-data-dir=C:\Users\DELL\AppData\Local\google\Chrome\User Data')
driver = webdriver.Chrome(options=options)

# driver.find_element_by_css_selector('a[data-rid=1]').click()
# driver.implicitly_wait(3)
driver.get('http://i.baidu.com')
